package controller.dao;

import java.util.List;

import model.bo.Sub;

public interface ISubService {

	public void save(Sub transientInstance);

	public void delete(Sub persistentInstance);

	public Sub findById(java.lang.Integer id);

	public List findByProperty(String propertyName, Object value);

	public List findAll();
	
	public String findByFatherId(String typeid);

	public String getTypetree(Integer typeid);
}